package com.example.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.vo.CenterConfigInfoVo;
import com.example.entity.yifei.CallCenterConfiguration;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CallCenterConfigMapper extends BaseMapper<CallCenterConfiguration> {

    List<CenterConfigInfoVo> list();

    CenterConfigInfoVo one(Integer id);

    @DS("mes")
    List<CenterConfigInfoVo> selectWorkbench(@Param("collect") List<String> collect);

    CallCenterConfiguration getMachineConfig(@Param("macNo") String macno, @Param("banbie") String banbie, @Param("guZhangTypeNo") String guZhangTypeNo);

    List<CallCenterConfiguration> likeBanchIds(String faultType, String duty);
}
